﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Baseball.Infrastructure
{
    public static class StringConverter
    {
        public static string Put0IfEmpty(this string str)
        {
            // 비어 있으면
            if (String.IsNullOrEmpty(str))
            {
                return "0";
            }
            return str;
        }
    }
}
